


/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 4px rgba(111, 168, 218, 0.1);
}

/* 卡片样式 */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 按钮样式 */
.btn {
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #4361ee;
    border-color: #4361ee;
}

.btn-primary:hover {
    background-color: #3a56d4;
    border-color: #3a56d4;
}

/* 文件管理页面样式 */
.file-icon {
    color: #6c757d;
}

.file-icon.image {
    color: #28a745;
}

.file-icon.video {
    color: #dc3545;
}

.file-icon.audio {
    color: #ffc107;
}

.file-icon.document {
    color: #17a2b8;
}

.file-icon.archive {
    color: #6f42c1;
}

/* 相册样式 */
.photo-card {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.photo-card:hover {
    transform: scale(1.02);
}

.photo-container {
    position: relative;
    overflow: hidden;
}

.photo-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.photo-actions, .video-actions {
    display: flex;
    gap: 10px;
}

.photo-card:hover .photo-overlay {
    opacity: 1;
}

.photo-card:hover .photo-img {
    transform: scale(1.1);
}

/* 视频卡片样式 */
.video-card {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: scale(1.02);
}

.video-container {
    position: relative;
    overflow: hidden;
}

.video-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .photo-overlay {
    opacity: 1;
}

.video-card:hover .video-img {
    transform: scale(1.1);
}

/* 相册封面样式 */
.album-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-card:hover .album-overlay {
    opacity: 1;
}

.album-card:hover .album-cover img {
    transform: scale(1.05);
}

/* 音乐播放器样式 */
#playerProgress {
    transition: width 0.1s linear;
}

/* 播客卡片样式 */
.podcast-card {
    overflow: hidden;
}

.podcast-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* 笔记卡片样式 */
.note-card {
    transition: transform 0.3s ease;
}

.note-card:hover {
    transform: translateY(-5px);
}

/* 新闻样式 */
.news-item {
    padding: 15px 0;
}

.news-item.unread {
    font-weight: bold;
}

.news-title {
    color: #343a40;
    text-decoration: none;
}

.news-title:hover {
    color: #4361ee;
    text-decoration: underline;
}

.news-summary {
    color: #6c757d;
    margin: 10px 0;
}

.news-image img {
    border-radius: 5px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .photo-img {
        height: 150px;
    }

    .album-cover {
        height: 150px;
    }

    .podcast-card img {
        height: 150px;
    }

    .news-image {
        margin-bottom: 10px;
    }

    .news-image img {
        max-width: 100px;
        max-height: 100px;
    }
}

/* 加载动画 */
.spinner-border {
    width: 1rem;
    height: 1rem;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* 表格样式 */
.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    font-weight: 600;
    color: #495057;
    background-color: #f8f9fa;
}

/* 模态框样式 */
.modal-content {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    border-radius: 10px 10px 0 0;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 10px 10px;
}

/* 表单样式 */
.form-control:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

.form-select:focus {
    border-color: #4361ee;
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.25);
}

/* 徽章样式 */
.badge {
    font-size: 0.75em;
    padding: 0.375em 0.75em;
}

/* 输入组样式 */
.input-group-text {
    background-color: #e9ecef;
    border-color: #ced4da;
}

/* 按钮组样式 */
.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.btn-group .btn:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

/* 列表组样式 */
.list-group-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 15px;
}

.list-group-item:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.list-group-item:last-child {
    border-bottom: none;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.list-group-item.active {
    background-color: #4361ee;
    border-color: #4361ee;
}

/* 分页样式 */
.pagination .page-link {
    color: #4361ee;
    border-color: #dee2e6;
}

.pagination .page-link:hover {
    color: #3a56d4;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #4361ee;
    border-color: #4361ee;
}

/* 进度条样式 */
.progress {
    height: 8px;
    border-radius: 4px;
}

.progress-bar {
    background-color: #4361ee;
}
/* 添加上传管理器样式 */
.upload-progress-container {
    transition: all 0.3s ease;
}

.upload-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 0.6rem;
}

#uploadManager .list-group-item {
    border-left: none;
    border-right: none;
}

#uploadManager .progress {
    background-color: #e9ecef;
}

/* 上传状态指示器 */
.upload-status-processing {
    color: #0d6efd;
}

.upload-status-paused {
    color: #6c757d;
}

.upload-status-error {
    color: #dc3545;
}

.upload-status-completed {
    color: #198754;
}

/* 动画效果 */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.upload-pulse {
    animation: pulse 2s infinite;
}